x86: avoid redundant TLB flushes
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 3 Feb 2009 18:14:19 +0000 (18:14 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 3 Feb 2009 18:14:19 +0000 (18:14 +0000)
commit1d274df151b3b7d28ead42792ced85ae8e94b328
treea09b1a47ea2432478b920a333be710626d674899
parentb30f1137e5655f7cad9d4d29374303d4818dcae8
x86: avoid redundant TLB flushes

While in some places the guest requested flushes were already folded
into the deferred ops, this wasn't done consistently.

Also avoid using an uninitialized variable, even if doing so has no
correctness issue.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/mm.c